﻿using System.ComponentModel.DataAnnotations;

namespace Logger7.Data;

public class TLogger
{
    public long Id { get; set; }
    [Display(Name = "日期")]
    public DateTime Dt { get; set; }
    [Display(Name = "类别")]
    public string Name { get; set; } = default!;
    [Display(Name = "等级")]
    public LogLevel LogLevel { get; set; } = default!;
    [Display(Name = "内容")]
    public string Msg { get; set; } = default!;
    [Display(Name = "扩展")]
    public string UserExt { get; set; } = default!;
    [Display(Name = "异常")]
    public string Exception { get; set; } = default!;

}

